Closed Bug 1639008 Opened 5 years ago Closed 4 years ago

Convert 'mach wpt-update' to run with Python 3

Categories

(Testing :: web-platform-tests, task)

task

Tracking

(firefox86 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: KrisWright, Assigned: egao)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

mach wpt-update still runs with python 2 [1]. We want to convert all mach commands to python 3.

To do this, any dependencies of the command may need to be converted as well as the command itself.

[1] https://searchfox.org/mozilla-central/rev/9193635dca8cfdcb68f114306194ffc860456044/testing/web-platform/mach_commands.py

Assignee: nobody → egao
Attachment #9153653 - Attachment is obsolete: true
This causes failure on Windows as ujson dependency requires legacy MSVC 9. ```
Attached file py2 failure log
This causes failure on Windows as ujson dependency requires legacy MSVC 9.

There have been Py3 support patches on WPT. I've used them on Python 3 and haven't seen any unfixed bugs so far.

Attachment #9192302 - Attachment description: Bug 1639008 - Run wpt commands on Python 3 r=jgraham → Bug 1639008 - Run wpt-update and wpt-serve on Python 3 r=jgraham
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c61efa41dd0e Run wpt-update and wpt-serve on Python 3 r=jgraham,firefox-build-system-reviewers,dmajor
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: